Madrid has changed greatly since 1975, at once opening itself to immigrants from Latin America while also doubling down on conservative politics.