Tuning a Two-Impurity Kondo System by a Moiré Superstructure