Washington Post chief executive and publisher Will Lewis has departed just days after the newspaper announced massive layoffs.