I guess it boils down to this: does calling a student by the wrong gender count as hostility or free speech? (And I guess student to teacher to)
Whether the student is trans isn’t a pertinent factor, after all the government officially recognizes the right to change sex/gender (such as on your driver’s license)