X settles 2-year advertiser lawsuit, clearing path to ad recovery