British teacher tells students believing in two genders is "not an opinion."