Thirty Democrats, including former House Speaker Nancy Pelosi, are rallying behind legislation that would block elected officials from waging politically…