Use VTK_ENABLE_WRAPPING=OFF when building with emscripten. You might want to continue the discussion in this thread.
VTK_ENABLE_WRAPPING=OFF