The judge in Donald Trump’s hush money case held the former president in criminal contempt over posts on Truth Social that he said violated a gag order barring any attacks on jurors and witnesses and warned Trump he could be jailed for further violations.