NSW public schools set to benefit from $4.8b in Commonwealth funding under new agreement between state and federal governments