Mr. Trump’s top immigration policy adviser has discussed using military assets to build detention centers and support civilian immigration agents.