An ADA said the ex-president—now on trial over alleged hush money payments—violated a gag order in his social media statements.