A Variational Characterization for the Best Approximation Element