stateTopics

Returns a map from MQTT state topic to a function that extracts the value from a VehicleStatus.

Use this to publish state updates: iterate the map, apply each extractor to the current status, and publish non-null results to the corresponding topic.