Discrete-time Ruijsenaars-Schneider system and Lagrangian 1-form structure