Casper Ruud måtte jobbe hardt mot Benoît Paire i den første runden i Roland-Garros-turneringen i tennis.