The first book published by a longtime Guantanamo Bay inmate that describes torture, humiliation and despair during 13 years in captivity was selling briskly in the United States on Wednesday and drawing hard-won attention to his case.