On the construction of state spaces for classical dynamical systems with a time‐dependent Hamilton function