doc,tools: allow stability table to be updated
Keep markers for the stability table so that it can be updated on subsequent runs of the doc tooling. Only overwrite the files if they have been changed.
Fixes: https://github.com/nodejs/node/issues/37886 cc @nodejs/documentation @danbev