China’s paramount leader, like his Russian counterpart, is making a fine mess of his country’s economy and world standing