Donald Trump was fined $10,000 on Wednesday by a New York state judge for violating a gag order in the attorney general’s civil fraud case after the former president made a thinly veiled negative remark about the judge’s law clerk.