It probably is delivering 12V but the measurement has to be taken between the output connections, not Earth.
The reason you are seeing the voltage is because although double insulated, there is still capacitance between the primary and secondary sides of it's transformer. That capacitance allows a tiny current to flow and the isolated side adopts a voltage which could be anywhere between zero and peak of the line AC. In practice, it rarely is either but falls somewhere between the two. What is important is that the amount of current is extremely tiny and poses no harm if it should be touched. If you have a resistor, say 10K Ohms to simulate the body resistance of someone touching Earth and the charger, connect it across the meter and take the measurement again, you should notice the voltage has been safely conducted away.
Brian.