Text this: Maximum principle preserving the unconditionally stable method for the Allen–Cahn equation with a high-order potential