An explosive employment tribunal at NHS Fife means health boards across the country are facing questions over how they handle single-sex spaces.