Lots of races restrict gender. The Olympics has a women's dinghy class, women's sailboard class, open 2-person dinghy class, etc.
Likewise, Rolex Women's Keelboat Championship is not open to men.
Laser Masters Championship had restrictions based on age.