This isn't exactly rocket science here. If there aren't any offspring. There isn't a species to begin with.
Then homosexuality would increase in proportion to population size. It doesn't.If overpopulation is an issue, and if scarce resources cannot support a large number of additional members, gay members would serve a vital role of limiting population growth.
It was a statistical anomaly when our numbers were small. It is still an anomaly today.