Two boys, aged 11 and 7, left home to attempt a 24-hour challenge they saw on social media, prompting a search before they were found safe