German President Frank-Walter Steinmeier is planning to visit China in the coming weeks, even as relations between the two countries sour over trade, according to multiple sources familiar with the arrangement.