The Prime Minister met Alice Weidel, a candidate to be Germany’s next chancellor, in Budapest.