Dominio, NTW, Jean, Mystique, Moira and Laura in the last three movies don't count, I guess? Plus, characters from Legion and The Gifted as well. Jean is the main character of this movie and the main antagonist is a woman as well. New Mutants is a mostly female team as well, even if the movie doesn't end up happening. I would be the last person on earth to say the franchise doesn't have problems, like the way they treated Storm, but that's a bit much.
		
		
	 
The franchise has/had terrible problems with character building, team building and world building.
There was more of a fixation on killing characters off:
Cyclops, Jean, Xavier, Psylocke, Arclight, etc in X3;
Darwin, Shaw, in First Class
Emma, Banshee, Azazel, female Angel, etc in DoFP (plus Storm and Bishop first to die in the future)
Xavier, Wolverine, most of the X-Men in Logan
Angel, Apocalypse, in X-Men: Apocalypse
It all seems focused very cynically on destruction, rather than the MCU's emphasis on construction (of a franchise, world, etc).
I do wonder what the bigwigs at Fox think of Endgame's success and whether they think they did anything wrong in treatment of the X-Men, because it's clear they did...