'Seahorse' transgender man loses challenge to be named father