NYC teacher claims he was fired for being gay, defending bullied kid.

A teacher at an Upper East Side middle school says he was fired after suffering anti-gay harassment. (Image: Shutterstock)

A former teacher is taking the city to court after suffering through two years of harassment and discrimination during his tenure at an Upper East Side middle school.

Robert Halkitis claims that his tenure at Robert F. Wagner Middle School…