The Islamic world’s intellectual turning point — and its unsettling parallels in modern ideological movements.