Add the aid token to responsive image sources

Problem/Motivation

#63 (closed) adds the aid token to derivative URLs of image styles that burn the icon in, so browsers and CDNs fetch the new file when a disclosure changes. Responsive image styles build their srcset elsewhere and get no token, so a stale labelled or unlabelled derivative can be served there.

Proposed resolution

Add the same token to every source URL of responsive_image output whose image style contains the ai_disclosure_label effect, with the same cacheability.

Remaining tasks

  • Preprocess for responsive images
  • Kernel test
  • Docs

Follow-up of #63 (closed). Part of #56 (closed).

AI Compliance

🤖 Generated with the help of an LLM, reviewed and approved by me before posting.

Edited by Giorgio Alfredo Pagano