British schools are on the brink of a "masculinity crisis" with one in four female teachers subjected to misogyny, the union said.