Carlos Sainz is open to partnering with Ferrari teammate Charles Leclerc and race in the 24 Hours of Le Mans.