India’s earliest publicly homosexual prince endured many years of torturous conversion treatment. Today, he could be fighting to make the practice unlawful