Expectations were high for WM Motor Holdings, a Shanghai electric-vehicle maker backed by tech giant Baidu Inc. and started by a former Volvo executive. Now, it risks becoming yet another casualty of the slow-motion shakeout in China’s crowded EV market.