Measuring black hole properties by mapping their surroundings via X-ray light echoes