Erdoğan’s assault on democracy is a threat to Turkey’s allies Authoritarian rule and imprisonment of political opponents could destabilise Nato and the region