Hundreds of Sri Lankans jostled Monday to use the vast array of exercise machines in the private gym of the presidential palace, lifting weights and running on treadmills inside a facility that was, until now, the exclusive domain of the country’s beleaguered president.