Fixed winmenu example to support workspaces named with string

It was working only for number-named windows from 1 to 10, now it supports all existing workspaces using i3.get_workspaces()