Istanbul’s Church of St. Saviour converted to Muslim house of prayer, drawing international condemnation, as Erdogan seeks to appease his base with popularity sagging