A US judge has given President-elect Donald Trump until early December to file a motion to dismiss the Stormy Daniels hush money case.