Brexit is not just Europe’s problem. It highlights a crisis in democracies worldwide.