Recent salary gains for some teachers in recent years are being consumed by growing inflation, pushing them to find second jobs.