I don't believe that her statement is proof that there are no female starship captains. First she is mentally ill and feeling persecuted. She said something like the world of starship captains doenst allow women.
That could mean there are very few female captains. More importantly it could mean that "I" didn't make it so it is naturally systemic discrimination.