Man struck with weapon while trying to stop his car being stolen