Microsoft is facing a class-action lawsuit alleging an anticompetitive arrangement with Valve, the operator of the Steam gaming platform.