Lawmakers vying to lead the House Democrats if Speaker Nancy Pelosi retires after the midterms have raised millions.