Osman Kavala has not been convicted but his detention has set Turkey’s leader on a collision course.