Some Democrats have accepted thousands of dollars from donors affiliated with companies that have backed Trump’s ballroom project.