Skip automodel compression weights tests for nncf==2.8.0 (#535)
* skip compression weights tests for nncf==2.8.0 and reworked logic of optimization stateful PyTorch models
* black happy
* ruff happy
* updated nncf version
* replied to comments
* replied comments
* typo
* cherry pick fixes for tests from PR 538
* replied to comments
---------
Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>