Desmond Holly, 16, who is suspected of shooting and injuring two students, had been “radicalized by an extremist network,” the authorities said.