The president-elect warned Gregory Hayes, the chief executive of Carrier’s parent, United Technologies, that he had to find a way to save a substantial share of the jobs it had vowed to move to Mexico, or he would face the wrath of the incoming administration.