Twistor interpretation of slice regular functions