AI and democracy: the right to resist optimization