A two-part survey of the artist’s work at the San Francisco Museum of Modern Art and Yerba Buena Center for the Arts foregrounds dialogue as a radical political act