Remove unused XModuleDescriptor.get_sample_state method

@nedbat, @sarina: Review?