The Department of Homeland Security has administered lie detector tests to about 50 staffers in recent weeks, including FEMA’s acting administrator and roughly a dozen officials at the disaster relief agency, as part of an intensifying effort to root out what the department alleges are leaks of national security information.