A Melbourne firm will manage data from 35 million pathology tests for the Welsh health service.