When a large stretch of Manhattan went dark Saturday evening, Mayor Bill de Blasio, a 2020 presidential hopeful, was campaigning in Iowa.