The Welsh government has set out plans to ban greyhound racing.