Valve faces a class action lawsuit claiming loot boxes in Counter-Strike 2 and Dota 2 function as illegal gambling systems targeting players.