David Pecker is stepping down as chief executive of American Media, publisher of the National Enquirer, ending an era for the supermarket tabloid which played a key role in a campaign-finance scandal that sent Donald Trump’s lawyer to prison and implicated the president himself.