A new book documents the extent to which American prosperity is founded on immigration—and raises questions about how we treat immigrants today.