Wiltshire teacher fired for not using preferred pronouns, tribunal told