Perth commuters tilt train to free trapped man