How do I detect the watch user has gotten up from a seated position ?
How to post a Watch notification when user gets up
Can't help on the specific detail of interpreting sensor positional data into user movement.
But one thing to add, you won't be able to do this live on the watch with background processing on the data unless you configure your app to run as a workout. Does this fit your use case?