If you want to just use one wire, the below setup might be of interest. Wire the motor so when the relay isn't powered, the valve goes closed and when the relay is powered the valve is opened.
If you want to just use one wire, the below setup might be of interest. Wire the motor so when the relay isn't powered, the valve goes closed and when the relay is powered the valve is opened.