A strong 7.9-magnitude earthquake hit near Nepal’s capital of Kathmandu before noon Saturday, causing extensive damage with toppled walls and collapsed buildings, officials said.