Teachers to be trained to spot ‘toxic ideas’ and misogyny in boys