Christian doctor lost his job after refusing to identify a six-foot-tall bearded man as ‘madam’, tribunal hears