Adapter for connecting a switch device to a data bus and switch assembly comprising the adapter