US trade deficit widens in 2022 to record on strong imports