doc: de-emphasize wrapping in napi_define_class
Change the documentation for napi_define_class
in such a way that
it mentions wrapping C++ class instances as a possible use for the API,
rather than making the assumption that it is the use case for the API.
Signed-off-by: @gabrielschulhof Fixes: https://github.com/nodejs/node/issues/36150
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines