When Are Democracies at Risk of Backsliding?