A former US school district police officer denies prosecution claims of failing to protect pupils from a teen gunman by not acting to stop the carnage.