Lawmakers scrutinized the involvement of a former Raytheon lobbyist who worked until recently in the State Department’s legislative affairs bureau.