Extract work package attributes to partial

This is part of ticket [``* `#4789` Fix: Story points not visible in work package show``](https://www.openproject.org/work_packages/4789) and the related [OpenProject Backlogs PR 87](https://github.com/finnlabs/openproject-backlogs/pull/87)