The Catholic Wiki Project has an impressive list of references to Catholicism in science fiction, courtesy of the extensive research of Speculative Catholic. Check out this list. It's rather breathtaking.
For example, there's a reference to Stephen Baxter's "Inherit the Earth," with a robotic pope, and Lester Del Rey's "The Eleventh Commandment," which is about contraception. And many, many more.