Taiwan's President Lai Ching-te says higher defense spending will deter China, after Trump urged the island to pay for US protection.