“Abhorrent” practices aimed at changing sexual orientation or gender identity could be banned.