Optimizing Feature Selection in Causal Inference: A Three-Stage Computational Framework for Unbiased Estimation