Minnesota Gov. Tim Walz hadn’t been in the top tier of potential running mates for Kamala Harris until the past few weeks. But his selection to join the vice president on the Democratic ticket underscores both the power of social media and of being relatively affable and nondivisive.