Nancy Pelosi, who became a symbol of gerontocracy, is retiring from Congress. Finding someone to match her spine and leadership won’t be easy.