President Donald Trump is set to visit China this week for the first time since 2017, when he received a red-carpet welcome from children waving American and Chinese flags, and Chinese officials hoping to negotiate with a leader they viewed as a pragmatic businessman and dealmaker.