The Harry Potter author acted after one health trust said transgender women can continue to use female wards, toilets, showers and changing rooms for now.