Migration regulates cellular mechanical states