Scale invariance of entanglement dynamics in Grover's quantum search algorithm