OK, just some shower thoughts. I think all of us would agree that there should not be any institutional sexism in Starfleet. But at the same times I don't think we can completely dismiss Janice Lester's statements as insane ramblings. Yes, she is crazy, but her obsession is the result of something that has some basis in reality. In fact, Kirk agrees with her that that it isn't fair that his world of Starship captains doesn't admit women.
The real basis is her failure to make it as a captain. That doesn't require her to be right about the reason for her failure. There are countless people who can't accept failure and blame it on outside factors, evil conspiracies, etc. I've seen wannabe writers who had no talent but who blamed their failure on the industry being an elitist clique that wouldn't give them a fair chance. Lots of people fail at sports but blame their equipment or the weather or whatever. Certain narcissistic politicians blame the media or the "Deep State" for their own incompetence.
And given the circumstances, maybe Kirk was just humoring what he thought was a dying woman, rather than rehashing an old argument.
Metatextually, we don't have to treat every single spoken line of dialogue as absolute gospel. We don't have to assume the impulse engines are fission-based just because Kelso mentioned the points decaying to lead. We don't have to assume Deanna Troi suffered a memory wipe of all the times she kissed Riker with a beard before
Insurrection. Sometimes fiction contains errors, like any human construct. Sometimes it's better just to overlook an error than call attention to it.
But I think that the most obvious interpretation is that in her view the realm of Starship captains is a boys club. There are many specific words that push this interpretation rather than "there's no room for women in a captains life."
Yes, of course that was the intent, but we're allowed to reinterpret it to make it fit with the rest of the franchise. Just as we're allowed to take all the early first-season TOS episodes that talked about the
Enterprise as an Earth or UESPA ship and pretend it was the Federation and Starfleet all along. Just as we pretty much have to find some way to reconcile the peacetime Starfleet portrayed in TNG's first two seasons with the fourth-season revelation that the Federation was at war with Cardassia at the time. Individual details don't always fit together. We have to do some fudging here and there to maintain the fiction of a consistent whole. It's just a question of which interpretation you choose to favor, and I hardly think "Intruder"'s stupid ideas are worth favoring over the alternative.
MAYBE you could say one of the twelve is a sexist a-hole that hates women and always black balls them, but that's not actually necessary. I think we can imagine enough plausible scenarios why the elite group of 12 or so Starship captains would already be all male without invoking institutional sexism.
We don't have any real reason to assume they are all-male, though they were probably assumed to be at the time. Here are the
Constitution-class commanding officers we know of:
Constellation: Matthew Decker
Defiant: Unnamed human male (called Thomas Blair in the novels)
Enterprise: James T. Kirk
Excalibur: Harris (gender unspecified)
Exeter: Ronald Tracey
Lexington: Robert Wesley
So we can only be certain that 5 out of 12 "Starship" captains were male. That's not even a majority. For that matter, since two of those commanding officers were commodores, we can't even be sure they
were the regular captains of those ships. Wesley might've been assigned to the
Lexington strictly for the war games, for all we know.