A comparison of prehistoric and more recent art reveals that early humans had a better grasp of quadruped locomotion. Sophie Bushwick reports