In the first ruling of its kind in China, a Beijing court said on Friday that a psychiatric counseling center was in the wrong when it attempted to cure a 30-year-old man of homosexuality with a mix of hypnosis and electric shocks. Gay rights activists …