The proportion of under-30s spending a third of their pay on rent is at a five-year high, data suggests.