Evaluating the Resilience of Variational Quantum Algorithms to Leakage Noise