Optimal error estimate for a space-time discretization for incompressible generalized Newtonian fluids: The Dirichlet problem