A Venezuelan delivery driver who was shot in his car by a US federal immigration agent in Texas, has appeared in court charged with assault.