A masterpiece by one of Europe’s most influential Baroque painters has been found in South Africa