Winger Louis Rees-Zammit scored a hat-trick of tries as Wales beat Georgia 43-19 to secure first place in World Cup Pool C.