The discovery of an extremely energetic gamma-ray burst from the infant Universe