The main suspect is a 19-year-old man who was radicalized online and swore an oath of allegiance to the Islamic State, an Austrian official said. Swift’s three-concert run in the city has been canceled.