From the outset of his administration, Mr. Obama has been trying to thread the needle between national security policy and his ideological affinity with civil liberties lawyers and human-rights activists, meeting with and consulting them prior to making detainee-related decisions.