feat: add /media/* handler and fix /media-collection route in lith
Ports the Netlify edge function media.js logic into the Express
adapter: resolves @handle → user ID → DO Spaces redirect for
paintings, tapes, and direct file paths. Also fixes media-collection
route to handle query params without a trailing path segment.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>