[bluez] HID connection special case handling. Fixes JB#16819, JB#16866

- backported two upstream commits:

    fb97136ae104ffa8219991bb478d03207723e60a
    5cbdfbd83d663eb98bf81302f9b98d1f7ef4e8f0

  to handle automatic reconnection from the host side
  when needed.

- device-initiated connection pends acceptance until
  service discovery is complete. Previously a connection
  attempt from a device for which SDP was not complete
  was rejected