The head teacher of the Southport attacker’s former school said she had a “visceral sense of dread” that he would do something.