To my knowledge, there is no consensus in the LGBTQIA+ community that public libraries cannot give one more cent to Pottermore Publishing, ever, and that if they do, librarians are transphobes. If there is such a consensus, which I doubt, I submit that being a librarian and managing a library collection for the entire general public (while being under pressure from that same general public from all sides) is far more difficult, and less morally unambiguous, than that community imagines it to be.
@jillrhudy Libraries are for everyone. If someone comes in for something morally objectionable, they also might accidentally pick up some knowledge, understanding, and perspective during the visit. Curated collections are fine, but please keep one of everything in the stacks. Censorship of books, even soft censorship by not buying or shelving copies of culturally relevant works, is for the bad guys. People who try to control what you can read, try to control what you can think.