adaptWsModule(module: unknown): WsModuleLike
Narrows an already-imported module to WsModuleLike.
Split from loadWsModule so the validation branches are unit-testable
with a hand-built fake, leaving only the one import() line behind a guarded
real-import test.
The narrowed module