per #19219 (comment), #19219 (review) and #19219 (comment). Edit: now split into 3 PRs:
- net: remove -banscore configuration option (this PR)
- rpc: deprecate banscore field in getpeerinfo (#19469)
- gui, doc, doc: no longer display “Ban Score” in GUI Peers window + test/doc fixups (#19512)