A US judge has ordered Donald Trump to attend a deposition by 11 December in his $10bn lawsuit against the BBC over editing of his 2021 speech.