doc: add documentation for invalid byte sequences
added documentation on evaluating legal code points, and the behavior that stems from it otherwise.
Fixes: https://github.com/nodejs/node/issues/23280
Checklist
-
documentation is changed or added -
commit message follows commit guidelines