The former employee alleged that he lost his job after referring to a nonbinary coworker "by her actual legal government name."