Teen accused in school threat due in court