And, actually, most biologists are very comfortable assuming that the trait
is beneficial (or at least neutral) precisely because it's more likely that there is an unknown benefit than it is that a harmful trait has not been selected against. (Obligatory quibble -- for this to be true, the trait has to be "unfixed," i.e. not universally present in (virtually) all members of the species, and it has to be common enough that it can't simply be dismissed as a recent mutation. Homosexuality, if genetic, qualifies under both traits).
This is often summarized as Orgel's rule (or Orgel's second rule) : "Evolution is smarter than you are." Unpacking this aphorism turns into : "
Although we may not understand the purpose of a particular evolved feature, it is likely to have some adaptive function that outweighs its ridiculousness."
Which makes UE's position doubly wrong.