The US and Chinese presidents navigated a minefield of issues from a potential trade war to North Korea and the South China Sea – that both sides emerged positive must count as a good beginning