Quasi-local energy with respect to a static spacetime