An early commission by the painter for a public theatre in Rijeka is the subject of a major display in the city this summer