Judge tosses lawsuit against companies who stopped advertising on X