U.S. District Judge Reggie Walton on Wednesday dismissed a lawsuit brought by three House Republicans against Speaker Nancy Pelosi over fines for refusing to wear masks on the House floor.