Pope Leo warned against democracies sliding into "majoritarian tyranny" on Tuesday, a day after US President Donald Trump attacked him.