Pontiff calls for recovery of 'European spirit,' warns against 'withdrawing into oneself' during speech in Budapest to audience including anti-immigrant prime minister