By refusing to hand over its recommendation algorithm, X is challenging France’s novel use of organized-crime laws to probe tech platforms.