Pope Leo’s first encyclical warns that the greatest threat posed by artificial intelligence may not be job losses or automation, but the human voice itself