its-g5: replace 'state' field with 'joined'

Since the only state we need to distinguish is if the device
is connected to the network or not, the 'state' filed is an
overhead -- replace it with simple "bool joined"

Signed-off-by: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz>