The police said a hunt for suspects was underway after the episode at one of Europe’s biggest gay-themed festivals.