There was a time where slavery was perfectly fine, then why did it change? How do you determine what is right or wrong if there is no singular authority saying so?
Right and wrong are irrelevant on this issue. The claim was that it is a mental illness to be gay, not that it is wrong. Gender dysmorphia yes, but being gay, no.