The local township library and school board are both literally the government, and the book banning is largely happening based on local election results (typically county positions and/or school board positions -- both from election ballots)
It's not wrong at all to say the government is banning books -- that statement is objectively correct, it's just happening at the lowest levels of government.