Tropical moduli spaces of stable maps to a curve