You can sell horses by tapping on the stable they're housed in. Select the button with the house icon. You'll see the slots with the respective horses housed in them. You can only sell horses that aren't currently busy (so not being ridden by a guest or away at a tournament). Idle horses will have a sell button - a hand with coins dropping into it. Just click on it to sell the horse.