Understanding Synthesis–Structure–Performance Correlations of Nanoarchitectured Activated Carbons for Electrochemical Applications and Carbon Capture