A banned Teesside driver who took police on a high-speed chase when he refused to pull over has been jailed after he crashed into railings.