Diversity, equity and inclusion initiatives within the Secret Service led to Donald Trump's near-assassination attempt over the summer, an agent has revealed.