In one of my first campaigns I ever tried to run, when I was in high school and admittedly not a very good DM, I had a player who did this. Every female character, whether it was someone's mother or the queen mother, became a target for his advances and lewd remarks.
We were playing a fairly gritty campaign with hit locations and the potential for permanent wounds and scars. So the first thing I tried, when he got injured, was fudging the results a little so that he was visibly scarred in a way that would affect his appearance... I figured if he was less successful with women in general, maybe the PC would be humbled enough that he wouldn't keep trying to hit on the more important female NPCs as well, the ones he never had a shot with but it became impossible to have a serious conversation with because of his behavior.
That didn't work.
At one point he died, and I decided that instead of having a cleric in the area to raise him, they would have to go to a druid and have him reincarnated. I thought maybe the result would be bizarre enough that it would make the ongoing behavior unseemly, even for this player.
It didn't quite work out that way. He was reincarnated as a dwarf and decided his character would overcompensate by becoming more lewd, loud and flirtatious. I now had a one-eyed dwarf barbarian on my hands that was acting even worse.
Finally, they found a Deck of Many Things. I adapted it to the major arcana of a tarot deck and had him pick a card. He drew Justice! 'Perfect,' I thought! I described him being transported to an alternate plane and being confronted by the image of lady justice herself. He commented on her bosom and insinuated that he knew how to balance her scales. She turned him into a woman and deposited him back on the prime material plane. Then they went back to negotiate with the duchess or some other important NPC. He/she pinched the royal NPC's butt.
I now had a one-eyed lesbian dwarf barbarian that was constantly acting inappropriate around women on my hands. During my first attempt at DMing. I finally decided that regardless of what I did, the player and his character were going to be disruptive and wrapped up the campaign. We didn't game as a group again.
I would strongly suggest talking to the player about his character if it's disruptive or demeaning or distracting to the other players. Perhaps even suggest that perhaps a more unique character might be more interesting to him so that he doesn't have to attempt to entertain himself this way, and offer him something special as an alternative.
If that doesn't have an effect, then the player is determined to be disruptive and I don't think that anything you do is going to change that. You're just going to keep swallowing the proverbial spider to catch the fly, and you'll wind up with a one-eyed lesbian dwarf barbarian that pinches the queen's ass at a sensitive moment.