A new book takes on the throughline from the rise of 20th-century eugenics to Silicon Valley.