A man has appeared in court following an incident where a police officer was struck by a vehicle in Bradford.