Public libraries across the Gulf offer a wealth of books, digital resources and quiet spaces. Here is how to find them, join and make the most of your membership.