Microstructure-independent acoustoelastic measurement of stress