A teenage boy has been left in hospital with serious injuries following a quad bike crash in County Durham.