The Paul Beatty novel, and “Dreamland: The True Tale of America’s Opiate Epidemic,” a nonfiction title by Sam Quinones, were given the top prizes by the literary critics and editors’ group.