The painting, “The Rest on the Flight into Egypt,” could sell for as much as $30 million