A transgender doctor felt “unsafe” after a nurse made “hurtful and demeaning” remarks to her in the women’s changing room they were both using at work, an employment tribunal has heard.