I did read once that humans basically evolved to handle childcare as a society. Apparently villages used to raise all the kids together. So I am probably arguing against biology here.
I'm still not sure assuming that people with kids have less time left over is discrimination, but I am probably projecting my own lack of desire to have kids onto the separate issue of how society should be run.