Evolution doesn’t do what’s best it does what works.
If something works, there’s no reason to change it. The goal of evolution is to reproduce and make new genes. Well humans are excellent at doing this, especially in the last 100 years.
So there isn’t an anwer to the OP question because there’s no need to answer it.
As long as humans survive to reproduce that is what works.
Look at the cough reflex. The windpipe and foodpipe cross. This is a HUGE flaw in design. And even though thousands of people each year choke to death the design flaw isn’t enough to stop reproduction.
For the sake of argument, no insults intended, let’s assume that homosexuality is a design flaw. As long as there are enough straight people to keep the gene pool going, it doesn’t matter.
Even if you accept (the outdated statistic) 1 of 10 people are gay, that isn’t enough to put a stop to the evolution.
Homosexuality can’t be a strict gene thing, 'cause there are lots of identical twins where one is gay and one isn’t. Though it clearly leans in that direction it isn’t enough to point to a definate genetic link.
Another piece of interesting evidence is the more children a woman has the greater likelihood the later children will be gay. I am a gay male and the 4th and last child of my mother.
Most gay people I know are the youngest or near the end. But I do know a few people that are gay and first born and all their siblings are straight, so that isn’t a strict rule obviously.
Finally, we can’t answer this because you have to define “gay” or “homosexual.” Remember a sex act does not a homosexual make.
As a gay male I find it odd that, someone will say “Oh he’s gay, he had sex with a guy he MUST be gay.” But when I point to them and say “have you had sex with a girl,” they usually say, “yes.” But that doesn’t make them straight.
For example, I read in an interview with Rolling Stone magazine where singer Daryl Hall was asked if he was gay. He replied, he had sex with a few guys but he has a long term girlfriend and no longer has any interest in men. (And for the record Hall states Oates is 100% straight :)).
Remember Steve the “Dell Dude” (real name: Ben Curtis)? He is an actor now and his father left his mother and came out. His father was a minister. So of course Steve was asked if he was gay. He replied that he had sex with men, “just to see what it was about,” but didn’t care for it and he said he likes women.
OK so how do you class those two. Are they gay just because they had sex with a few guys? I am a gay male and I wouldn’t consider either man gay. But I could find a lot of people who would argue endlessly they are gay and surpressing it.
So it’s really hard to get any real evidence, because you can’t really tell.
So if homosexuality is a design flaw it isn’t a big enough flaw to stop the evolution process, just like the way the exchange of food and air pipes isn’t a big enough design flaw to kill off humans in big enough numbers to effect evolution