Determining Fuchsian groups by their finite quotients