Prosecutor says mom killed 4-year-old son she perceived to be gay