Quantum Field Theory of Black Hole Perturbations with Backreaction: I. General framework