Endogenous timing in competitive interactions among relatives