NESTER: An Adaptive Neurosymbolic Method for Causal Effect Estimation