NEW YORK — Fox Corp. said Friday that its chief legal officer who oversaw a $787 million settlement with Dominion Voting Systems over defamation allegations is leaving the company. Fox News, a unit of Fox Corp., agreed to settle the case brought by the voting machine producer in mid-April following weeks of pretrial disclosures that revealed the network had aired …