The national intelligence director and the head of the N.S.A. drew criticism from senators for their reluctance to speak about President Trump’s conduct.