The Chinese leader’s visit aims to bless some of the continent’s illiberal outliers and weaken transatlantic ties.