The Maxwell relation and Eshelby's conservation law for minimizers in elasticity theory