Schools in Wales face a total maintenance bill of more than £500m, with a £93m backlog of urgent works, a Senedd member and former lecturer revealed.