Marvel’s “Northstar” A canuck superdude was gay back in the late 80s or early 90s IIRC.
The whole XMen mutant thing is said by many to be a euphamism for gays being ostracized.
That can indeed be read into it if one tries.
Actually, X-Men had it's roots in the 60s civil rights movement. Magneto was even patterned after Malcolm X. It's Bryan Singer the director of Fox's X-Men movies, who is trying to change the message.