Xi and Putin are entering a dangerous time in the life cycle of dictators.