Whether it is Donald J. Trump’s amused looks or Hillary Clinton’s shoulder brush, animated GIFs are offering a new way for candidates to connect with voters.