John Berger used to think Francis Bacon painted only to shock and his appeal would soon wear thin. But at a new show in Paris, he realised the painter's personal preoccupations have become terrifyingly relevant