The Hillary Clinton campaign and the Democratic National Committee helped fund research that resulted in a now-famous dossier containing allegations about President Trump’s connections to Russia and possible coordination between his campaign and the Kremlin, people familiar with the matter said.