The National Portrait Gallery show is also an appreciation of Bacon’s innate understanding of how to make a painting work.