Forget about whether it has blowback against the company- It's totally legal AFAIK to fire someone for their "off the clock" speech for any or no reason at all.
In reality, though, I think a jury would be very skeptical of a company's claims that someone was fired for promoting the gay agenda (which would be legal) and not for being a gay person.