President Trump said he received assurances from Xi Jinping that China will not attack Taiwan while he is in office