A man has been released on bail after a dog walker was killed in an alleged hit-and-run in Wales.