ISTANBUL — There’s not a lot of female energy in the Directorate of the Istanbul Mufti. This large, blocky Ottoman-era building houses the state bureaucratic entity in charge of every aspect of Islam here, from hiring imams and writing their weekly sermons to paying their salaries and approving designs for new mosques.Much of what female energy there is comes from the small, tidy office of Kadriye Avci Erdemli, who three years ago became the first female deputy mufti of Istanbul and one of Turkey’s highest-ranking female religious officials.