The president’s swing through Malaysia, Japan and Korea will also include meetings with allies strained by tariffs.