Five teenagers have been arrested after a 17-year-old boy was stabbed at what police believe was a "flat party" in Nottingham.