Even if one works in an at-will state or locality that also has trans employment protections, it is still one's burden to prove it. Unless the employer is a total moron and admits that is why they fired you, it is almost impossible to prove.