An enslaved woman’s candlelit shadow is the most compelling image in the US National Portrait Gallery