Ruling means short-video app and Chinese parent ByteDance must appeal to supreme court by 19 January