Mounting tensions between Kurdish and Turkish troops in northern Syria have threatened to open a new front in the country’s complex war.