A Deconfounding Framework for Human Behavior Prediction: Enhancing Robotic Systems in Dynamic Environments