A decline in attendance has been recorded in private, public and Catholic schools despite a post-pandemic uplift.