That's true. And definitely gay groups do help with that. In my case, I struggle to find others - I'm not gay but I have had some problems with hostility toward me for being a nontraditional woman, and most often now for being politically liberal. I've tried to find liberal groups and other than the very liberal church I go to, I haven't found much. The local chapter of Drinking Liberally (I do think that name is funny, but it's basically a group of liberals who meet in a bar and talk politics - it's nationwide btw) disbanded before I could go to any of the meetings, and the other liberal groups I know of have very few members, and most of the time nobody shows up. However, the conservative groups have LOTS of members and are always having meetings! So I guess it's pretty much church... I think it's kind of funny that I now go to church to be around liberals since I grew up going to a very conservative church and stopped going, and even became anti-religious for quite a few years, because of their sexism and repression! But yeah, it's hard to even be an out liberal when you work with people like at this one place I worked at, I worked across from a guy who didn't think women should've been given the vote, and who had open hostility toward anyone who was liberal, with a very growling tone of voice. Or another place I worked where anyone who was NOT racist was bullied at work (This happened actually to a few other people moreso than to me).
It can be bad out there! Some work places are better than others though. In fact, at one of the places I worked fairly recently, most people for the most part agreed with my political views. That was a nice surprise! You just have to gauge your work place, and if you'll get a hostile reaction, judge for yourself if you can afford (emotionally and even financially, since you could get fired if you are out at some work places!) the reactions from others at work.