A portrait painting captures likeness and status across centuries, bringing aristocratic sitters, artists and historical eras directly into a modern room.