The nature of the jet-driven outflow in the radio galaxy 3C?305