So it is accepted that the path that maximizes the proper time between two timelike separated events in Minkowski space is a straight line (in Minkowski space). I am having trouble deriving this from the expression of the proper time. The idea I have is that one should try to find the extremum of the proper time by solving an Euler-Lagrange type equation in Minkowski space (but I have no idea about how to do this) and arrive at an equation of motion for a straight line in Minkowski space. I also don't know what the equation of a straight line might look like in Minkowski space. (I know what a differential line element looks like, but not what a straight line looks like.)
So I tried solving the Euler-Lagrange equations for this action in one-dimensional Euclidean space: $$\int_{t_{0}}^{t_{1}}\sqrt{1-\dot{x}^{2}}\,{\rm d}t$$ and arrived at an equation of a straight line in Euclidean space, which I am sure isn't a straight line in Minkowski space.
Help on how to do this would be appreciated.