[build] set ONNX_USE_LITE_PROTO=ON only for wasm when using vcpkg (#26485)
### Description
Before this change, ONNX_USE_LITE_PROTO is always set to OFF for all
vcpkg builds, including web assembly build. This PR modifies the
behavior to use lite proto when building targetting wasm.
No change to non-vcpkg build.