After an aborted sale and layoffs, the New York tabloid has been reinvigorated with a series of striking front pages and a return to its populist legacy.