Kelly Slater wins tenth world title