Judge rejects divorce for transgender pregnant man