Kantian Optimization With Quasi-hyperbolic Discounting