A rare painting of The Beatles by the late John Byrne has sold for £27,700 at auction, almost double its original estimate.