Women are ditching leadership roles. How to ensure their needs are met