A female Stanford labor economist urges graduates to avoid the trap of “trying to have it all”