Text this: Trellis Decoding for Qudit Stabilizer Codes and Its Application to Qubit Topological Codes