Mother whose son attended school nine times this year says expecting him in bed before midnight is ridiculous, court hears