Washington Post publisher to step down after big layoffs as union calls his legacy ‘attempted destruction of a great American journalism institution’