Justice Juan M. Merchan, overseeing Donald J. Trump’s criminal trial, warned the former president’s lawyer that he was losing credibility.