A former superintendent of a Massachusetts school district has filed a lawsuit alleging that he was discriminated against and fired because he is gay, and that the circumstances surrounding his termination have made it impossible for him to find another…