Officials said the suspected gunman, a white 18-year-old man, traveled hours to Buffalo and livestreamed the shooting on social