Man accused of leading police on chase before crashing appears in court