The Kurdish militia of Syria’s northeast is caught between an Islamist regime in Damascus and a hostile Turkey across the border