Measurement of the space-like $π^0$ transition form factor