What would the mechanism be?
For instance, how would a baby born in rural California know that there's too many damn people in Bangladesh, and therefore know to be gay? You're faced with the fact that the majority of homosexuals (at least the ones who feel compelled to admit to it) seem to be in affluent countries, which are the countries with the least problem with overpopulation.