To tweak this, go to Gboard Settings > Preferences and change the Touch and hold duration. It's set to 300ms by default, but ...
You don't need the power button to restart your Android. If yours is broken or you just want options, here are two.
Instead of buying a new phone, try clearing some space, updating your software and changing a few battery settings.