n-api: add napi_get_all_property_names
follow up by #28944
support to get all property of an object.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines