Our evolution to reproduce heterosexually doesn't prove homosexuality to be a mental illness- on the contrary sex is like pretty good at getting people to be fond of each other and subsequently work harder to protect eachother etc. fun stuff
The bonobos are thought to have so much sexual intercourse for this reason, likely applies to humans too