A teenager drove at 130mph before crashing into a car dealership window and seriously injuring a passenger, a court heard.