Before joining the Democratic ticket as Joe Biden’s running mate, Harris was known as a politician with a withering prosecutorial style and a skill for crafting viral clips. Now she is trying to balance her penchant for forceful exchanges with her duties as the vice-presidential nominee.