Apparently the command expects the wasm encoding of the WIT package instead of the WIT file. This tutorial has a PR in which this is updated (see here).
I made some changes to the Go example because I had issues running it in its current state:
Looks like the instructions for running wit-bindgen-go are duplicated (and the 1st one doesn't work ...