Hong Kong transgender woman wins legal battle to marry boyfriend