The lead in Jacques Audiard’s latest film left Sri Lanka’s bloody civil war and arrived in France to work a series of low-paid jobs. His extraordinary story is mirrored in the new work from the director of A Prophet