US judge threatens contempt charges against Trump for violating gag order