It's OK to include ALL books on controversial topics, no matter what, with no vetting of any kind (other than to ban anything criminal, or inciting to crime), including Communism and Fascism and Race Superiority and Astrology and Witchcraft and Satanism and Flat-Earthism and Creationism and anything else controversial --
as long as taxpayers don't have to pay for it.
But, just as religion may not be taught in public schools, neither should anyone's particular ideology on something controversial, about "social justice" etc., and preaching "You're on the wrong side" etc. All should be included, with no favoritism to any, and none should be paid for with taxpayers' money.
So as long as these books are
donated, not tax-paid, there should be no vetting or censorship or limitation put on them. Just don't have taxpayers pay the cost for anything which promotes a particular ideology, such as theories about "race, social justice, and history" which are subjective issues that go in the ideological category, not science. The OP did not say if the book in question is paid for by taxpayers.
What should be taught at taxpayers' expense are math and science and basic language communicating skills. Ideally "history" also should be taught, but only if there's a way to identify the historical facts without mixing ideology in with it.
There needs to be a rethinking, and revision on how to teach:
History/social science --- factual truth vs, subjective theory