The pre-inflationary dynamics of loop quantum cosmology: confronting quantum gravity with observations