Two teenage boys were taken to hospital after they were stabbed at a house party in Brisbane.