Former secretary of state Hillary Clinton drew a comparison Tuesday between the Sept. 11, 2001, terrorist attacks and Russian efforts to influence the 2016 election, saying that in both cases, a foreign power had attacked the United States, but that in the latter, the president had “done nothing.”