The 1980s pushed the gay rights movement into the mainstream in this country and motivated effective political organization in the community in pursuit of resources and treatment. The time was certainly a setback for many individuals and it was traumatizing, but in fact it energized gay political activity to a greater extent than anything before it.
I believe you. Indeed, for homosexuality to go from illegal to mainstream in less than 50 years, it took some major doing, politically and socially alike. I carefully watched the way the press campaigned for its acceptance... it was ingeniously managed.
However, opposition to homosexuality died hard among some demographics. Look at "Hot Tub Time Machine", a movie made barely ten years ago. Homophobia was still being played for laughs even then. So, while I'm not condoning anything, I can at least understand why the powers that be at Star Trek were hesitant in that regard.