A conformal field theory description of magnetic flux fractionalization in Josephson junction ladders