[ci] revise wasm CI (#24825)
### Description
<!-- Describe your changes. -->
revise WASM CI to run test as later step than publishing artifacts. This
allows download the binary to diagnose test failures.
### 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. -->