Reputation-driven edge activation promotes the evolution of fairness in the spatial ultimatum game