In a way, yes. Depending on circumstances, I prefer males in leading roles for what I watch or play. But it's not mutually exclusive, as, if the writing is good enough, or the appeal of the media doesn't match, I won't really care if the lead is male, female, or whatever.
But I do care when they try to shove that shit in my face. Details, like, if they're gay, or Jewish, aren't important, and will almost never serve a purpose to the overall story, or any sub-story, and it takes extreme delicacy to create inclusion for those things without it being shoved down my throat like my uncles cock.
I mean, I loved Miles Morales from Into the Spiderverse, because it wasn't made apparent to us that it's important that he's black. He's just Miles.
Or Virgil Hawkins from the Static Shock tv show. The only episode that had details like that, only had apparent subtext of some form of discrimination, and that's arguably one of the worst episodes. In the rest of the show, it doesn't matter What Virgil is, only that Virgil is Virgil.