An inmate died hours after his booking; a lawsuit claims the jail violated state standards.