Investigation under way after man shot in leg in Dubbo