Washington Post Publisher and CEO Will Lewis resigned after just two years, days after the paper laid off more than a third of its newsroom.