But I don't think it should be this way. Maybe the way academics are promoted should be addressed? Maybe we need better career paths for the non-research active? Maybe there needs to be less stigma attached to T&L contracts? Maybe there needs to be several light years of teaching/admin, so those returning from maternity leave can get back their research?
IMO, it's really important to help those returning from maternity leave (or any break) to keep up with their research. I think there could be some interesting ways to do this, including more collaborative projects and better planning, so time out doesn't have as much of an impact, but this goes against the ethos of a lot of departments! Specific training and personal development aimed at returning parents might also help, along with other measures like specific travel funds to help them attend conferences they might not otherwise go to because, for example, they didn't have a paper accepted there. Also, yes, lighter teaching/admin duties if this is an issue.
There's a lot of talk about the way academics are promoted, especially with the Athena Swan awards getting departments to admit that women can often have a lot of admin/teaching/committee work that isn't recognised officially.
I'm not sure about non-research active career paths and teaching/lecturing contracts. I think the nature of research means that once you're on this path it's really difficult to get off it and back into research. So you have to be careful that you're actually supporting the people who choose them, rather than nudging them towards a dead-end.