BIARRITZ, France — President Trump said Saturday that he has the authority to make good on his threat to force all U.S. businesses to leave China, citing a national security law that has been used mainly to target terrorists, drug traffickers, and pariah states like Iran, Syria, and North Korea.