The shackling of Poland’s top court is the latest troubling sign that Jarosaw Kaczyski is taking his country in Hungary’s illiberal direction