Criticism of the show at the Hungarian National Gallery in Budapest comes alongside a nationalist reshaping of the country’s cultural policy