Daniel McCarthy The last war for democracy Islamism has every reason to triumph in Afghanistan. But its triumph may be its undoing