Alexander Larman The luck of Barry Lyndon Stanley Kubrick’s 1975 picture was ridiculed on release. Fifty years later, it is considered a masterpiece