Revolutionary-era portrait of Hamilton to be shared between Metropolitan Museum of Art and Walmart heir's AR museum.