Good details! Ok, we know the trunk latch work mechanically, but not electrically.
You may need to pull back some felt carpeting, to look for any exposed wiring near the hinge area.
Or look in...