Scalar Aharonov–Bohm Phase in Ramsey Atom Interferometry under Time-Varying Potential