California teacher cancels class time and assigns homework instead to attend son’s wedding in Mexico