Generalization of the Lie–Trotter product formula for q-exponential operators