Since Tiled 1.5, the “Wang Tool” has been merged into the “Terrain Brush”. Whatever reference you found to the “Wang Tool” is probably a little dated, but should apply almost 1:1 to the terrains feature in latest Tiled.
If you do still want to use an older version, you can download old releases from https://github.com/mapeditor/tiled/releases.