A Lagrangian for two interacting relativistic particles