Ensuring people from affected communities are involved in planning conferences is one way to avoid this situation. Is your conference’s steering committee exclusively ex-officio past conference organizers ? Is it therefore mostly cis straight white men? You should change that.
For US locations, there are also resources tracking anti-trans laws that are passed or are being proposed.