'Hidden costs' of school causing poorer children to miss day