Hybrid bounds for twisted L-functions