Lemma: Let $V$ be a vector space (of possibly an infinite dimension) over $\mathbb{C}$ with a nondegenerate sesquilinear (not necessarily Hermitian) form $\langle\_,\_\rangle$. If $F:V\to V$ is a linear transformation such that $\langle Fv,v\rangle =0$ for every $v\in V$, then $F$ is the zero map.
Proof: Fix a basis $B$ of $V$. Now, for each $a\in B$, we get $\langle Fa,a\rangle=0$. For two distinct $a,b\in B$, we have
$$|p|^2\langle Fa,a\rangle +p\bar{q}\langle Fa,b\rangle +\bar{p}q\langle Fb,a\rangle +|q|^2\langle Fb,b\rangle =\big\langle F(pa+qb),pa+qb\big\rangle =0$$
for all $p,q\in\mathbb{C}$.
Since $\langle Fa,a\rangle=\langle Fb,b\rangle =0$, we see that
$$p\bar{q}\langle Fa,b\rangle +\bar{p}q\langle Fb,a\rangle=0.$$
Taking $p=q=1$, we have $\langle Fa,b\rangle +\langle Fb,a\rangle=0$. Taking $p=1$ and $q=i$, we have $-i\langle Fa,b\rangle +i\langle Fb,a\rangle =0$. That is, $\langle Fa,b\rangle=0$ for all $a,b\in B$.
Fix $a\in B$, and vary $b\in B$. We get that $\langle Fa,b\rangle=0$ for all $b\in B$ implies that $\langle Fa,v\rangle =0$ for every $v\in V$. As $\langle\_,\_\rangle$ is nondegenerate, $Fa=0$ for each $a\in B$. This proves that $F$ is identically $0$.
Corollary: Let $V$ be a vector space (of possibly an infinite dimension) over $\mathbb{C}$ with a positive-definite Hermitian form $\langle\_,\_\rangle$. If $F:V\to V$ is a linear transformation such that $\langle Fv,v\rangle =0$ for every $v\in V$ such that $\langle v,v\rangle=1$, then $F$ is the zero map.
Proof: Let $S$ denote the set of $v\in V$ such that $\langle v,v\rangle =1$. If $\langle Tv,v\rangle =0$ for all $v\in S$, then $\langle Fv,v\rangle=0$ for all $v\in V$ because for every $v\in V$ with $v\neq 0$, $\lambda v\in S$ for some $\lambda >0$. By the lemma, $F=0$.
Remark: If $V$ is a complex Hilbert space, the corollary also holds, with similar proof.
From the problem statement, we get $\langle (T-\text{id})v,v\rangle=0$ for all $v\in V$. From the lemma, we get $T-\text{id}=0$, or $T=\text{id}$. So, this is a proof for an arbitrary dimension, for arbitrary nondegenerate sesquilinear form which may or may not be an inner product, where the usual Gram-Schmidt won't work. I forgot the condition $\langle v,v\rangle =1$ here.
But anyhow, from the problem statement, we get $\langle (T-\text{id})v,v\rangle=0$ for all $v\in V$ with $\langle v,v\rangle=1$. From the corollary, we get $T-\text{id}=0$, or $T=\text{id}$.
The problem statement must require that $\langle\_,\_\rangle$ is a positive-definite Hermitian form (which the OP unfortunately didn't specify). If the form is not necessarily positive-definite, consider a negative-definite Hermitian form $\langle\_,\_\rangle$. Then, $\langle v,v\rangle=1$ is never satisfied. And if the form is not required to be Hermitian, you can construct a sesquilinear form for which $\langle v,v\rangle$ is never a real number except when $v=0$. In these cases, any $T$ will work.
Interestingly, the lemma does not hold if $\langle\_,\_\rangle$ is a nondegenerate (not necessarily symmetric) bilinear form. An example is given by $V=\mathbb{C}^2=\mathbb{C}e_1\oplus\mathbb{C}e_2$ with the bilinear form $$\langle \alpha e_1+\beta e_2,\gamma e_1+\delta e_2\rangle =\alpha\beta+\gamma\delta.$$ Take $F:V\to V$ to be
$$F(\alpha e_1+\beta e_2)=\beta e_1-\alpha e_2.$$
Then, $F\neq 0$, but $\langle Fv,v\rangle=0$ for all $v\in V$. So, with $T=\text{id}+F$, the OP's question also fails for bilinear forms.