International visitors spent a record $222 billion while in the United States, according to a new federal estimate.