Refactoring: add type hints for ObservationBuilder

2 jobs for 173-refactoring-type-hints-named-structures-for-observation-builders-and-predictors in 42 minutes and 38 seconds (queued for 18 seconds)