The obvious answer is to outlaw public toilets, showers and changing rooms so that nobody can feel uncomfortable or offended in one.
Or stop segregating them. If people grow up with desegregated facilities, they'd perceive that as normal and reasonable.