You can only encounter Castform via S.O.S. Chaining, while a weather condition is active. Some of the places where weather is (usually) constant are Malie Garden, Haina Desert, & Mount Lanakila. I think it has a low encounter rate, so you might just wanna try the GTS first.