Intelligence officials told congressional leaders a year ago that Russian hackers were attacking the Democratic Party, sources said.