The presidential campaign of Hillary Clinton and the Democratic National Committee paid for research that was included in a dossier made public in January that contained salacious claims about connections between Donald J. Trump, his associates and Russia.