Fourteen-year-old Daniel Halliday drowned after being swept out to sea while playing in the waves with friends an inquest has heard.