The National Portrait Gallery removed key details from the caption beside the president’s photograph. It still has a story to tell.