Mitt Romney said Friday that the nation must act swiftly to address the scourge of gun violence, stating that he was open to tougher measures like “enhanced background checks” if they would help keep guns out of the hands of the mentally ill.