fix(ext/napi): don't invoke napi_wrap finalizer twice at teardown (#36556)