Police failed to fully assess the risk posed by a violent father who killed his son, an inquest rules.