L-infinity-algebras of local observables from higher prequantum bundles