An armed teenager has been arrested after breaking into the grounds of Windsor Castle on Christmas Day, police have said.