Trans man loses court battle to be listed as 'father' on son's birth certificate