If maternity leave really is a large cost, then the reason not to pay them less is because we all have a stake in the healthy propagation of the species. Women bare the children, but that doesn't mean they ought to bare the entire burden of it.
Yes, I agree with you. I made the assumption that the state would likely end up collecting through payrolls or something like that. Perhaps a tax credit to businesses for employees losing hours to parenting and a tax increase on the other employees.