David Pecker’s testimony was a critical building block for the prosecution’s theory that his partnership with Donald Trump was a way to illegally influence the 2016 presidential election.