Monotonicity formulas for obstacle problems with Lipschitz coefficients