On a rare tour of prisons for Islamic State suspects from nearly 50 countries, a Times reporter watched their jailers try to secure them humanely — but for how long?