If you're a hiring manager and have 4 white males on a team, do you really need another white male? Probably not, is it morally wrong to want a female on the team or say a non white male? I cannot see why it would be. Especially when we now know based on current research that even if the candidate is technically worse than another, the overall team benefits from the different viewpoints more than a "star" developer.
Again, I am not in agreement this is at all a moral decision from a hiring point of view or overall as a community/CS viewpoint. Why is it wrong to hire for better performance? Why is it wrong to want more females in CS? Most importantly, how does that conflate to being a morality tale? The latter question would be aided here in you explaining your philosophical underpinnings of why a single gender meetup to get more of that underrepresented gender in the community as being morally wrong.
The slave analogy is off base for this particular situation.