The arrest in Canada of a top Chinese technology executive for possible extradition to the United States has roiled markets and cast doubt on a recent U.S.-China trade truce.