Planet TOI-1231 b is orbiting a red dwarf every 24 days, but it could be strikingly similar to Earth