Pete Buttigieg warned Democrats against playing ‘identity politics’ in a speech to a major LGBTQ rights group