On the characterization of distributivity equations about quasi-arithmetic means