Toward an invariant measure of chaotic behaviour in general relativity