Sharpness for inhomogeneous percolation on quasi-transitive graphs