Enhanced anomalous Hall effect in the magnetic topological semimetal Co3Sn2−xInxS2