Closed-loop wearable naloxone injector system