The city is taking the Trump’s social-media company to court for offering traders early access to posts.