The chief executive of the Washington Post is stepping down, the newspaper has announced, days after overseeing mass lay-offs.