Pope Leo's first major document will confront the age of AI.