If months of parental leave are granted to mothers but not to fathers (something not decided by who has the womb), we should expect to see motherhood being more damaging to a career than fatherhood.
If parental leave is offered equally to mothers and fathers, we should expect the disparity to shrink, though probably not disappear entirely as the womb thing does still remain.