Discriminatory sure. I'm not arguing it's right, but I'm just not seeing anything classist about it.
It's classist in that it denies the person seeking what the other person has the opportunity to progress. I would personally benefit from those hours in ways that include family forming. I'm not a member of the "family man" class and I'm being denied the opportunity to join it. My current work situation puts me in a very disadvantaged position for family forming. You, of course, have to take my word on much of this.
Some people just don't want to produce offspring or commit to a traditional marriage for a number of different reasons, some of these even include focusing on work/business. Why should these people "earn" less than people who went with the cookie cutter nuclear family approach?