Teen said to endanger juvenile inmates held in solitary confinement