Attached photoacid generator in end-capped chain scissionable photoresist for EUV lithography