When custom layers are provided to the ImageEditor, always default to the first layer (#10997)
* default to the first layer and persist IDs where possible
* add changeset
* fix inital layer id
* hygiene
* hi
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>