Xi Jinping opened his Beijing summit with Trump by asking whether the two powers could avoid the "Thucydides Trap" — then warned that mishandling Taiwan could lead to war.