A teenager allegedly used a knife to slash another teen as an out-of-control house party was being broken up, police say.