The infinite word problem and limit sets in Fuchsian groups