Anna Maxwell Martin said children were being written off amid a ‘ridiculous’ punitive approach involving fines for non-attendance.