refactor(registry): Return boot ID from GetJobTarget

No callers of Registry.GetJobTarget need a full MachineState object. Rather
than create a dummy object, GetJobTarget can simply return the boot ID.