A 17-year-old boy has died in hospital a week after being stung by a box jellyfish while swimming at a beach on Western Cape York.