Joe Root is captaining England after Ben Stokes was dropped for breaking a curfew following the first Test.