The National Portrait Gallery director had a sensitive, secret role in recovering the stolen paintings