The Stormont Education Minister has been challenged over the allocation of money for sports facilities while other schools have leaking roofs.