Trump’s latest rejection of intelligence assessments reflects a long distrust of spy agencies