A conservative pediatrics association is defending kids—and psychotherapy for unwanted same-sex attraction—in court