Thailand voters deliver stunning blow to army-backed rule