Metals mining's contribution to NSW hits five year high