The Pentagon plans to impose strict nondisclosure agreements and random polygraph testing for scores of people in its headquarters, including many top officials, according to two people familiar with the proposal and documents obtained by The Washington Post, escalating Defense Secretary Pete Hegseth’s war on leakers and internal dissent.