What began as a public-health project by a Harvard medical student evolved into an intimate, ambitious, six-year study of the brothel ecosystem and a book that puts an …