A new book chronicles the musician’s activism, including leaving tours to join protests.