Marked colimits and higher cofinality