Growing up in a home surrounded by green space could lower a child's risk of developing attention deficit hyperactivity disorder, research suggests.