Dash cam captured the moment when a Texas officer narrowly avoided being struck by a motorcycle during a traffic stop.