As a boy he slept rough in railway stations. Now Jack O’Connell is a movie star with Angelina Jolie in his corner