Conservation laws in nonhomogeneous plane elastostatics