Judge threatens to imprison Trump for violating gag order