The wife of Prince Charles appeared on the BBC version of Dancing with the Stars to praise it for "lifting the whole country's spirits" during the coronavirus crisis.