The issue is not in considering the potential in a different reference frame, the issue is in defining what the "turning point" means in different reference frames. I will use the example (slide 2) of a ball in a uniform gravitational field. In the ground's reference frame the "turning point" is both the point where the velocity of the ball is $0$ and also the point where the separation between the ground and the ball is maximized. However, in a reference frame moving downward with a steady velocity $c$ the point where the velocity of the ball is $0$ is different from the point where the separation between the ground and the ball is maximized. This is not a problem in principle, but requires some thought.
In the ground frame
In this frame the position of the ball is $y$, its KE is $\frac{1}{2}m \dot y^2$ and its PE is $mgy$. So the Lagrangian is $$L=\frac{1}{2}m \dot y^2-m g y$$ which gives the Euler equation $$\ddot y = mg$$ Using initial conditions $y(0)=0$ and $\dot y(0)=v_0$ we get the turning point ($\dot y(t)=0$) is $$y\left( \frac{v_0}{g} \right) = \frac{v_0^2}{2g}$$
In the moving frame using standard coordinates
Here the coordinate is $Y=y+ct$. In these coordinates the turning point, $\dot Y=0$, is the point where the velocity goes to zero in the moving frame.
With these coordinates the position of the ball is $Y$, its KE is $\frac{1}{2}m (\dot Y+c)^2$ and its PE is $mg(Y+ct)$. So the Lagrangian is $$L=\frac{1}{2}m (\dot Y+c)^2-m g (Y+c t)$$ which gives the Euler equation $$\ddot Y = mg$$ Using initial conditions $Y(0)=0$ and $\dot Y(0)=v_0+c$ we get the turning point ($\dot Y(t)=0$) is $$Y\left( \frac{v_0+c}{g} \right) = \frac{(v_0+c)^2}{2g}$$ Note that this turning point is a different position and, more importantly, occurs at a different time. It has a different physical meaning from the original turning point.
In the moving frame using generalized coordinates
Here the coordinate is $h$ which represents the separation between the ground and the ball, even though the ground is moving in this frame. In these coordinates the turning point, $\dot h=0$, is the point where the change in the separation between the ground and the ball goes to zero in the moving frame.
With these coordinates the position of the ball is $h$, its KE is $\frac{1}{2}m (\dot h+c)^2$ and its PE is $mgh$. So the Lagrangian is $$L=\frac{1}{2}m (\dot h+c)^2-m g h$$ which gives the Euler equation $$\ddot h = mg$$ Using initial conditions $h(0)=0$ and $\dot h(0)=v_0$ we get the turning point ($\dot h(t)=0$) is $$h\left( \frac{v_0}{g} \right) = \frac{v_0^2}{2g}$$ Note that this turning point occurs at the same time as in the original frame, so it is more in line with the physical interpretation of the turning point in the original frame.
So, since in these coordinates $t$ is cyclic we immediately obtain the conserved energy in the moving frame is $$E=\frac{1}{2} m (\dot h^2 - c^2) + m g h$$ So the energy condition for $\dot h=0$ is not $mgh=E$ as it was in the original frame but rather $$mgh=E+\frac{1}{2}m c^2$$ which does reduce to the original condition for $c=0$ as we would expect.