No, there are two word, discrimination and segregation. Men having a bathroom and women not (or vice versa) would be discrimination: one have bathroom, other don't. In having separate bathrooms men have a bathroom and women have a bathroom, no discrimination there.