add "enable_generic_interface" build flag to node package (#24763)
### Description
<!-- Describe your changes. -->
Add '--enable_generic_interface' build flag to the node package for
Windows (both x64 and arm64) builds.
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->