Donald J. Trump had a dismal day in court on Tuesday as the judge presiding over his criminal trial told a defense lawyer he was “losing all credibility” and a key witness pulled back the curtain to expose what prosecutors called a conspiracy to influence the 2016 election. 214