You can believe that homosexuality is at least partly environmental while also believing that people should have the freedom to be as gay as they want to be.
I don't really like these appeals to motive; this is quite an interesting empirical question that's disconnected from discrimination. Even if it would turn out that homosexuality is a choice (I don't think it is, but let's assume it would be) then this wouldn't change my position one iota. People choose whether to smoke weed or not, and I also think people should have the freedom to choose to do so.
I'm not so sure what the evidence says on this, but it appears it's less of clear-cut "it's 100% genetic" than it seems to be. These things are notoriously hard to study.
The real problem seems to be that people are afraid that the "God hates fags" people will run with these kind of things, but these people will do their thing anyway no matter what the science says on account of being homophobic twats.