Social media platform X, the rebranded Twitter controlled by billionaire Elon Musk, said Tuesday that it would lift a ban on political advertising placed by Musk last year to thwart misinformation.