Gergely Karácsony promised to declare a climate emergency in Hungary's capital and likened his win to recent elections in Istanbul