Real and imaginary-time quarkonium correlators in a hot plasma