ISTANBUL — The security of tightly guarded prisons and camps in northeastern Syria holding Islamic State detainees or their families was threatened Tuesday, after Syria’s government said more than 200 detainees had escaped from one prison and a Kurdish-led militia guarding another camp said its forces had withdrawn under fire.